<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<script type="text/javascript">
			function fun1() {
				var myArray = new Array(5);
				myArray[0] = "z";
				myArray[1] = "c";
				myArray[2] = "d";
				myArray[3] = "a";
				myArray[4] = "q";

			}

			function fun2() {
				var myVariable = "a,b,c,d";
				var stringArray = myVariable.split(",");
				document.write(stringArray[0]);
				document.write(stringArray[1]);
				document.write(stringArray[2]);
				document.write(stringArray[3]);
			}

			function fun3() {
			
				document.write("result");  
				document.write("<input type='button' name='bt1' value='bt1' />");  
			}
			//fun3() ;
			
			function fun4(){
				window.alert("Hello");  
				var result = window.confirm("Click OK to continue");
			
			}
			
			function fun5(){
				
					document.writeln(parseInt(5/3));  
				document.writeln(5%3);  
			}
			
			window.onload= function(){
			up1.readOnly =true;
		fun5();
		}
		</script>
		<title></title>
	</head>

	<body>
		<input type="text" id="up1"/>
		<iframe src="" width="600" height="200"></iframe>
	</body>

</html>